From: Hellyna Ng Date: Thu, 17 Feb 2011 00:51:49 +0000 (+0800) Subject: telepathyClient: changed default icon for contacts without an avatar X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8983 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1779f662b12df3a6d1b16f29e445e20c03f18ea8;p=gnome-shell.git telepathyClient: changed default icon for contacts without an avatar The original icon doesn't exist, which results in empathy summary items in the tray showing no icons (invisible) at all. With this fix users can now at least see where the icons are (they are no longer invisible). https://bugzilla.gnome.org/show_bug.cgi?id=639468 --- diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js index f9d61fdcf..feda9c020 100644 --- a/js/ui/telepathyClient.js +++ b/js/ui/telepathyClient.js @@ -168,7 +168,7 @@ Source.prototype = { let uri = file.get_uri(); this._iconBox.child = textureCache.load_uri_async(uri, this._iconBox._size, this._iconBox._size); } else { - this._iconBox.child = new St.Icon({ icon_name: 'stock_person', + this._iconBox.child = new St.Icon({ icon_name: 'avatar-default', icon_type: St.IconType.FULLCOLOR, icon_size: this._iconBox._size }); }